package com.jeeplus.modules.process.entity;

import javax.validation.constraints.NotNull;

import com.jeeplus.common.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 流程节点Entity
 * @author wangkai
 * @version 2018-01-02
 */
public class ProcessInfo extends DataEntity<ProcessInfo> {
	
	private static final long serialVersionUID = 1L;
	private Integer nextFlag;		// 处理（是否下一步）
	private String processText;		// 处理意见
	private String processId;
	private Integer processIndex;
	
	public ProcessInfo() {
		super();
	}

	public ProcessInfo(String id){
		super(id);
	}

	@NotNull(message="处理（是否下一步）不能为空")
	@ExcelField(title="处理（是否下一步）", align=2, sort=7)
	public Integer getNextFlag() {
		return nextFlag;
	}

	public void setNextFlag(Integer nextFlag) {
		this.nextFlag = nextFlag;
	}
	
	@ExcelField(title="处理意见", align=2, sort=8)
	public String getProcessText() {
		return processText;
	}

	public void setProcessText(String processText) {
		this.processText = processText;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public Integer getProcessIndex() {
		return processIndex;
	}

	public void setProcessIndex(Integer processIndex) {
		this.processIndex = processIndex;
	}
	
}